package com.lovo.roomProject.system.dao;

import com.lovo.roomProject.pojo.CutPageBean;
import com.lovo.roomProject.pojo.UserDO;

import java.util.List;

public interface UserDAO {
    List listSystem();

    CutPageBean listUserByPage(int current);

    UserDO getUserById(int id);

    UserDO validateLogon(String userName, String password);

    //新增管理员
    void insert(UserDO userDO);

    //删除管理
    void delete(int id);


    //修改
    void update(UserDO userDO);

    UserDO getUserByName(String userName);
}
